package setCoveringProblem.gridgain;

import java.io.Serializable;

import org.gridgain.grid.GridException;
import org.gridgain.grid.GridJobAdapter;

public class CoverGridJobAdapter extends GridJobAdapter<DatosSetCoveringProblem> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1490080911855375641L;

	public CoverGridJobAdapter(DatosSetCoveringProblem r) {
		super(r);
	}

	@Override
	public Serializable execute() throws GridException {
		System.out.println("ejecutando una tarea...");
		return GridifyCoverTask.calcular(getArgument());
	}

}
